var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var dailyEnergyModel = require('../../app/models/dailyEnergyModel.js');
var config = require('../config');

suite('测试dailyEnergyModel', function () {
    var daily_model;
    setup(function (done) {
        dailyEnergyModel.getByRoleId(config.role_id, function (err, model) {
            daily_model = model;
            done();
        });
    });

    suite('addReceiveVipLevel', function () {
        test('每日体力领取测试', function () {
            console.log(daily_model);
            daily_model.addTimeList(123123);
            console.log(daily_model);
            daily_model.save();
        });
    });
});
